import foo from './foo.js'
import { h } from '../../lib2/min-vue.esm.js'
export default {
  name: 'App',
  setup() {},
  render() {
    return h('div', {}, [
      h('div', {}, '测试slot'),
      h(
        foo,
        {},
        {
          default: ({ age }) => h('p', {}, `我是默认插槽,今年 ${age}`),
          header: () => h('p', {}, '我是header插槽')
        }
      )
    ])
  }
}
